/*
|--------------------------------------------------------------------------
|
| 生成meta
|
|--------------------------------------------------------------------------
*/
const process = require('process');
const path = require('path');
const arkDevUtils = require('@arkxio/ark-dev-utils');
const packageJson = require('../package.json');
const appInfo = require('../config/appInfo');

arkDevUtils
  .extractArkMetaJson({
    appInfo,
    buildDirFullPath: path.join(__dirname, '../ark_dist'),
    packageJson,
  })
  .catch((err) => {
    console.error(err);
    process.exit(-1);
  });
